<extend name="Public/base"/>

<block name="style">
    <style>
        .hero-unit h1{
            font-size: 45px;
            margin-bottom: 45px
        }
        .hero-unit p{
            line-height: 1.8em;
            margin-top: 15px;
        }
        .hero-unit .btn-group{
            margin:35px 0;
        }
    </style>
</block>
<block name="body">

    <if condition="$list eq null">
        <div class="container">
            <div class="row">
                <div class="hero-unit">
                    <h1>抱歉，暂时没有视频素材</h1>
                    <p>您可以在下面新增视频素材，或者从微信导入</p>

                    <p class="btn-group">
                        <a href="{:U('WechatMaterial/online',array('type'=>'video'))}" class="btn btn-success btn-large">从微信导入</a>
                        <a href="{:U('addVideo')}"  class="btn btn-primary btn-large">新增视频</a>
                    </p>
                </div>
            </div>
        </div>
        <else />
        <volist name="_list" id="vo">
            <table>
                <tr>
                    <td>key</td>
                    <td>value</td>
                </tr>
                <foreach name="vo" key="k" item="item">
                    <td>{$k}</td>
                    <td>{$item}</td>
                </foreach>
            </table>
        </volist>
    </if>
</block>
